Payment Plugin: FastSpring
Configure plugin at aMember CP -> Configuration -> Setup/Configuration -> FastSpring
Configure FastSpring Product ID/Name at aMember CP -> Manage Products -> Billing Plans Please note that in order for integration to work, Product Name should not have spaces included.
Configure Remote Server URL in your FastSpring account (NOTIFY -> Add Notification Rule)
Format: HTTP Remote Server Call Type: Order Completed Remote Server URL: https://example.com/amember/payment/fastspring/ipn Optionally, after clicking 'Next' button you can add following 'HTTP Parameters'. Name: SubscriptionURL Value: #{order.allItems[0].subscription.url.detail} Name: OrderReference2 Value: #{order.allItems[0].subscription.reference} Name: OrderReferrer2 Value: #{order.allItems[0].subscription.referrer} Name: OrderProductQuantities Value: <repeat value="#{order.allItems}" var="orderItem">#{orderItem.productName}=#{orderItem.quantity} </repeat>Run a test transaction to ensure everything is working correctly.
Note: You can setup in FastSpring the same coupon code as in aMember.