subscription

How to test the “renew” component of auto-renew subscriptions in iOS App Store Sandbox?

这一生的挚爱 提交于 2019-12-03 03:41:54
问题 Folks, I am attempting to verify that auto-renew subscriptions are actually renewing in the sandbox environment. First, it appears that auto-renew subscriptions in sandbox are only valid for 5 minutes. Makes sense. I expect that if I wait for five minutes, then make another call to https://sandbox.itunes.apple.com/verifyReceipt With my receipt data, I should see the subscription renewed with an expiry date another five minutes out. Unfortunately that is not the case. All I see is a response

Checking google android subscriptions from server side

会有一股神秘感。 提交于 2019-12-03 03:38:22
in a nutshell: Can I work with the Google Play Android Developer API from server-side without providing any app in the play store? Background: I'm working on a project which provides apps with monthly subscriptions. The coresponding data of each subscription (purchase token, date etc) gets stored in the backend database. Now I want to create a cronjob that iterates through each of these datasets.And for each subscription I'd like to contact the Google API to retrieve the information if the subscription is still valid or not, and update our database corresponding to the responsed status. For

paypal verifying first payment or initamt was billed in recurring payment

微笑、不失礼 提交于 2019-12-03 00:02:59
I want my users to be able to subscribe to a recurring payment (using the express checkout api) The first payment needs to be billed immediately that the user subscribes, and I need to know that they have been successfully billed before granting them access. Is there a straight forward way to do this? I've tried, creating a recurring payment profile with an INITAMT set, however, it's not clear that the user is being billed (when using the sandbox), and there is no txn_id (or the equivalent) being returned to suggest that billing has been done. I do get an IPN confirmation however that comes

How to remove Subscription from product list in developer console and what will be its effect on the old subscribed users?

只谈情不闲聊 提交于 2019-12-02 19:32:29
I want to remove the existing subscription product from product list. How would I be able to perform so as I didn't found any option on my developer console to delete the subscriptions ? Also if in any way possible it is allowed, then will it have any effect on the existing users who have purchased that subscription when they call for RESTORE_TRANSACTION from their app while communicating with Google Play ? Unfortunately, It's not possible to remove a subscription product from the product list of the developer console. You can just remove the subscription product from the product list offered

How do I test Paypal subscription buttons with sandbox?

£可爱£侵袭症+ 提交于 2019-12-02 18:57:42
after 5 hours of research and reading outdated paypal documentation I finally give up! I need to test a simple paypal subscription button with the paypal sandbox. Button Code: <form action="https://www.sandbox.paypal.com/us/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="34CXHXVU2J8BY"> <input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online." style="border:none;padding:0;height:auto;width:auto">

How to test the “renew” component of auto-renew subscriptions in iOS App Store Sandbox?

前提是你 提交于 2019-12-02 17:10:36
Folks, I am attempting to verify that auto-renew subscriptions are actually renewing in the sandbox environment. First, it appears that auto-renew subscriptions in sandbox are only valid for 5 minutes. Makes sense. I expect that if I wait for five minutes, then make another call to https://sandbox.itunes.apple.com/verifyReceipt With my receipt data, I should see the subscription renewed with an expiry date another five minutes out. Unfortunately that is not the case. All I see is a response with latest_expired_receipt_info and a status of 21006, which means "This receipt is valid but the

Auto-Renewable Subscription Wrong Time Response Sandbox Mode

你离开我真会死。 提交于 2019-12-02 16:26:39
问题 I was trying to do local receipt validation and doing testing at present. But from apple receipt response, I was getting wrong time related response so it become difficult for me to test application at present. Here is log information: Here is source code that I used for receipt validation: public void CheckIfSubscriptionIsActive(bool validateReceipt) { ConfigurationBuilder builder = ConfigurationBuilder.Instance(StandardPurchasingModule.Instance()); IAppleConfiguration appleConfig = builder

Angular: Proper time to unsubscribe

柔情痞子 提交于 2019-12-02 15:45:09
问题 When using web services, when is the best time to unsubscribe? In my code I have been doing this tempFunction() { const temp = this.myService.getById(id).subscribe( response => this.model = response, error => console.error(error), final => temp.unsubscribe() // unsubscribe here ); } But everywhere else, I have seen this temp: any; tempFunction() { temp = this.myService.getById(id).subscribe( response => this.model = response, error => console.error(error), final => {} ); } ngOnDestroy() {

Angular 5+ cannot save result form observable response

落爺英雄遲暮 提交于 2019-12-02 10:34:36
问题 I have an Angular app which consumes data from a webapi. When i make a request then i get an typed observable. now when i do this: data: Product[]; productService.getByProductId("061000957").subscribe(res => { console.log(res); this.data = res; }); console.log(this.data); what i see in the console i can see this I can clearly see, that the result has the Product i need. But why cant i save this to my local variable data? Thanks 回答1: Observable is asynchronous just like promise. So console.log

It is possible to get the Azure Subscription offer, or offerId with PowerShell?

谁说我不能喝 提交于 2019-12-02 07:12:05
问题 Is it possible to get Azure Subscription Offer, or offerId, using Powershell? Through the portal this would be Subscription -> properties -> Offer or offer ID? I've been searching for a while, but I can't see it. Thanks, 回答1: There is an unofficial possibility to get the offer id which is used by the Azure Portal itself. I tested it with my subscription and it worked. It may lead to issues for specific offer ids. Please provide feedback on that. These are the required steps: Acquire an Bearer